projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc4df4f
)
ot-main: Ignore lt- prefixes in binary names
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 22 Aug 2012 08:58:17 +0000
(
05:58
-0300)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 24 Oct 2012 16:20:15 +0000
(12:20 -0400)
libtool is the best
https://bugzilla.gnome.org/show_bug.cgi?id=682438
src/ostree/ot-main.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-main.c
b/src/ostree/ot-main.c
index 554307f38afdc9e2ae762a7c1748c2030b306d3d..0045f32ad8f6e3e7da4ef16a76e1741eb0089c81 100644
(file)
--- a/
src/ostree/ot-main.c
+++ b/
src/ostree/ot-main.c
@@
-122,6
+122,9
@@
ostree_run (int argc,
else
binname = argv[0];
+ if (g_str_has_prefix (binname, "lt-"))
+ binname += 3;
+
if (g_str_has_prefix (binname, "ostree-"))
{
cmd = strchr (binname, '-');